package com.kakaxi.mybilibili.viewholder;

import android.support.v7.widget.RecyclerView;
import android.view.View;

import com.daimajia.slider.library.SliderLayout;
import com.kakaxi.mybilibili.R;
import com.kakaxi.mybilibili.utils.SliderLayoutHelper;

/**
 * 广告滑动控件的视图绑定器
 * Created by kakaxi on 16/10/17.
 */

public class BannerViewHolder extends RecyclerView.ViewHolder {

    /** 广告轮播控件 **/
    public SliderLayout bannerSliLayout;

    public BannerViewHolder(View itemView) {
        super(itemView);
        bannerSliLayout = (SliderLayout) itemView.findViewById(R.id.sl_common_banner);
        // 初始化
        SliderLayoutHelper.initSliderLayout(bannerSliLayout);
    }

}
